package com.way.common.core.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 全局异常
 *
 * @author lewis
 * @Date 2024-12-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class GlobalException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    /**
     * 错误提示
     */
    private String message;

    public GlobalException(String message) {
        super(message);
    }

}
